<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>开发者平台</title>
    <link rel="stylesheet" href="http://localhost:2205/css/lot.css">
    <link rel="stylesheet" href="http://localhost:2205/libs/swiper-bundle.min.css">
    <script src="http://localhost:2205/libs/swiper-bundle.min.js"></script>
</head>

<body>
    <div id="top">
        <div class="left">
            <img src="http://localhost:2205/img/iot.png" alt="">
            <span>小米lot开发者平台</span>
        </div>
        <div class="right">
            <a>文档中心</a>
            <a>Xioami Vela</a>
            <span> <a href="http://localhost:2205/html/login.html" id="login_a">登录</a> 
             <a class="exit">退出</a> </span>
        </div>
    </div>
    <main>
        <!-- 轮播 -->
        <div class="swiper">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><img src="http://localhost:2205/img/lot-lb-a.jpg" alt=""></div>
                <div class="swiper-slide"><img src="http://localhost:2205/img/lot-lb-b.jpg" alt=""></div>
                <div class="swiper-slide"><img src="http://localhost:2205/img/lot-lb-c.png" alt=""></div>
            </div>
            <!-- 如果需要分页器 -->
            <div class="swiper-pagination"></div>

            <!-- 如果需要导航按钮 -->
            <div class="swiper-button-prev"></div>
            <div class="swiper-button-next"></div>

            <!-- 如果需要滚动条 -->
            <div class="swiper-scrollbar"></div>


        </div>
        <div class="xiaomi container">
            <div class="xiaomi_line line_a"></div>
            <div class="xiaomi_line line_b"></div>
            <div class="xiaomi_line line_c"></div>
            <div class="xiaomi_line line_d"></div>
        </div>
        <!-- 平台platform -->
        <div class="platform container">
            <div class="pl_top">
                <h3>关于平台</h3>
                <p>小米IoT开发者平台面向智能家居、智能家电、健康可穿戴、出行车载等领域，开放智能硬件接入、智能硬件控制、</p>
                <p>自动化场景、AI技术、新零售渠道等小米特色优质资源，与合作伙伴一起打造极致的物联网体验。</p>
                <p></p>
            </div>
        </div>
        <!-- 动画轮播 -->
        <div class="logo_wrap">
            <div class="logo_wall">
                <ul class="logo_row">
                    <li>
                        <ul class="logo_col">
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_2.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                        </ul>
                    </li>
                    <li>
                        <ul class="logo_col">
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_2.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                        </ul>
                    </li>
                    <li>
                        <ul class="logo_col">
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_2.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                        </ul>
                    </li>
                    <li>
                        <ul class="logo_col">
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_2.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                            <li> <img src="http://localhost:2205/img/pl_logo_1.jpg" alt=""> </li>
                        </ul>
                    </li>
                </ul>

            </div>
        </div>
        <!-- 合作 -->

        <div class="cooperation container">
            <h3>合作方案</h3>
            <div class="box">
                <div class="left">
                    <img src="http://localhost:2205/img/hez-a.jpg" alt="">
                    <h2>直连接入</h2>
                    <p>智能硬件通过嵌入小米智能模组或集成SDK的方式连接到小米IoT平台。</p>
                    <p class="p-b">适合无自有云平台的开发者，或者希望产品上架小米有品的开发者。</p>
                    <a target="_blank" href="/new/doc/accesses/direct-access/overview.html">了解更多</a>
                </div>
                <div class="right">
                    <img src="http://localhost:2205/img/hez-b.jpg" alt="">
                    <h2>云对云接入</h2>
                    <p>智能硬件通过自有云平台连接到小米IoT平台。</p>
                    <p class="p-b">适合有自有云平台的开发者，或者希望产品仅接入小爱的开发者。</p>
                    <a target="_blank" href="/new/doc/accesses/direct-access/overview.html">了解更多</a>
                </div>
            </div>
        </div>
 <!-- 流程 -->
 <div class="process ">
    <div class="container">
   <h3>合作流程</h3>
   <div class=" pro-wrap">
   <span class="item-img ">
    <img src="http://localhost:2205/img/pro-img.png" alt="">
    <div class="title">成为开发者</div>
    <p>注册开发者资质，获得平台使用开发权限</p>
    <span class="right-line"></span>
   </span>

   <span class="item-img ">
    <img src="http://localhost:2205/img/pro-img-2.png" alt="">
    <div class="title">成为开发者</div>
    <p>注册开发者资质，获得平台使用开发权限</p>
    <span class="right-line"></span>
   </span>

   <span class="item-img ">
    <img src="http://localhost:2205/img/pro-img-3.png" alt="">
    <div class="title">成为开发者</div>
    <p>注册开发者资质，获得平台使用开发权限</p>
    <span class="right-line"></span>
   </span>

   <span class="item-img ">
    <img src="http://localhost:2205/img/pro-img-4.png" alt="">
    <div class="title">成为开发者</div>
    <p>注册开发者资质，获得平台使用开发权限</p>
    <span class="right-line"></span>
   </span>

   <span class="item-img ">
    <img src="http://localhost:2205/img/pro-img-5.png" alt="">
    <div class="title">成为开发者</div>
    <p>注册开发者资质，获得平台使用开发权限</p>
   </span>

   <button>申请合作</button>
</div>
 </div>
</div>
<!-- 视频 -->
<div class="video">
    <div class="video-play"><span class="play-button">
    </span><span class="video-slogan">极致物联 智享生活</span>
    </div>

    <footer>
        <div class="container">
        <ul class="">
            <li class="title">关于平台</li>
            <li class="link" ><a>平台介绍</a></li>
            <li class="link"><a>直连接入方案</a></li>
            <li class="link"><a>云对云接入方案</a></li>
            <li class="link"><a>小米模组采购</a></li>
            <li class="link"><a>服务协议</a></li>
        </ul>
        <ul>
            <li class="title">友情链接</li>
            <li class="link"><a>小爱开发平台</a></li>
            <li class="link"><a>小米开发平台</a></li>
            <li class="link"><a>小米商城</a></li>
            <li class="link"><a>小米有品</a></li>
            <li class="link"><a>小米生态云</a></li>
        </ul>
        <ul>
            <li class="title">练习我们</li>
            <li class="link">
                <a>邮箱:miot-openhome@xiaomi.com</a></li>
        </ul>
    </div>
    <div class="footer-bottom">
        <div class="copyright">京ICP证110507号 京ICP备10046344号 京公网安备1101085212535号</div>
    </div>
    </footer>
   
</div>


    </main>
    <script>
        // 退出登录
let exit =document.querySelector('.exit')
let login = document.querySelector('#login_a')
if(localStorage.getItem('username') ){
    login.innerHTML ="您已登录"
    exit.style.display='inline-block'
}
console.log(exit);
exit.onclick = function(){
    console.log(1);
    localStorage.removeItem('username')
  localStorage.removeItem('pass')
  login.innerHTML="登录" 
  exit.style.displa ="none"
}
login.onclick =function(){
    if (!localStorage.getItem('username')) {
        location.href="http://localhost:2205/html/login.html"
    }
}
        // 轮播
        var mySwiper = new Swiper('.swiper', {
            autoplay: true,// 时间停留3秒自动切换
            effect: 'fade',// 淡入
            keyboard: true,// 键盘和可以操作

            loop: true, // 循环模式选项

            // 如果需要分页器
            pagination: {
                el: '.swiper-pagination',
            },

            // 如果需要前进后退按钮
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },


        })

    </script>
</body>

</html>